]> dgit.raspbian.org Git - gnome-shell.git/commit
animation: fix unintentional loop while polkit dialog is active
authorRay Strode <rstrode@redhat.com>
Thu, 27 Jun 2019 18:27:34 +0000 (14:27 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 27 Jun 2019 18:54:36 +0000 (14:54 -0400)
commit0641b1e27929ca23d529e805e2fd1415fc64a65d
tree32956d140e43d9b0f0346da6c5d323e014ff852b
parentae0450b68eb5d5fa18622a1378c7ccde7b09871f
animation: fix unintentional loop while polkit dialog is active

The polkit password dialog has a spinner that gets displayed
while the users password is being verified.

Unfortunately, the spinner stop method unintentionally calls
back into itself after the stop fade out animation is complete.
The stop method is called at startup, so the looping begins as
soon as the dialog is visible and continues until the dialog is
dismissed.

This commit fixes the loop by having the stop method cease
calling itself, and instead having it call the stop method on the
superclass.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/602
js/ui/animation.js